package Test1;

import javax.swing.plaf.IconUIResource;

public class Main {
    public static void main(String[] args) {
        Customer customer1 = new Customer("张三", "江西省", "3487874");
        customer1.customerPrint();
        Employees employees1 = new Employees(001, "李四", "湖南省", "238973289");
        employees1.EmployeesPrint();
        employees1.income();
        employees1.lucky();
        Magagers magagers1 = new Magagers(111, "老板", "江西省","4445554", "管理员工");
        magagers1.MagagersPrint();
        magagers1.income();;
        magagers1.lucky();
        Employees employees2 = new Employees(002, "王五", "湖南省", "238973289");
        Employees employees3 = new Employees(003, "刘七", "湖南省", "238954444");
        magagers1.setEmploy(employees1);
        magagers1.setEmploy(employees2);
        magagers1.setEmploy(employees3);
        magagers1.employPrint();
    }
}
